package com.server;

import com.domain.DoorAlarmRecord;
import com.repository.AlarmRecordRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlarmRecordServer {
    @Autowired
    AlarmRecordRepo alarmRecordRepo;
    public Object saveAlarmRec(DoorAlarmRecord doorAlarmRecord){
        return  alarmRecordRepo.save(doorAlarmRecord);
    }
}
